package com.chixing.service.impl;

import com.chixing.mapper.SystemMenuMapper;
import com.chixing.pojo.SystemMenu;
import com.chixing.service.ISystemMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SystemMenuServiceImpl implements ISystemMenuService {

    @Autowired
    private SystemMenuMapper systemMenuMapper;

    @Override
    public List<SystemMenu> selectAll() {
        List<SystemMenu> systemMenus = systemMenuMapper.selectAll();
        return systemMenus;
    }
}
